package red_book.year2024.month4;

import java.util.Scanner;

public class MaybePassage {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        String str=sc.nextLine();
        int[][]dp=new int[n][m+1];

        for (int i = 1; i <=m; i++) {
            dp[0][i]=i;
        }

        for(int i=1;i<n;i++){
            for(int j=1;j<=m;j++){

            }
        }
    }
}
